package com.yueyang.domain;

import lombok.Data;
import org.bson.types.Binary;
import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * -
 *
 * @author：yueyang
 * @date：Created in 2020/10/29 9:37
 */
@Data
@Document(collection = "mongo")
public class Entry {

    @Id
    private String id;

    private String name;

    private Integer age;

    private String remark;
}
